print("Player stats HUD being created!");

function inv_stathud()
	if GameHasEnded == false then
		draw.SimpleText( "Level: " .. tostring(LocalPlayer():GetLevel()), "ScoreboardText", 2, 32, Color( 255, 255, 255, 255 ),0,0)
		draw.SimpleText( "XP: " .. tostring(precision_round(LocalPlayer():GetXP(), 3)) .. "/" .. INV_LEVELS[LocalPlayer():GetLevel() + 1], "ScoreboardText", 2, 44, Color( 255, 255, 255, 255 ),0,0)
		draw.SimpleText( "Points: " .. tostring(LocalPlayer():GetStatpoints()), "ScoreboardText", 2, 56, Color( 255, 255, 255, 255 ),0,0)
		draw.SimpleText( "Money: " .. INV_MONEYPREFIX .. tostring(precision_round(LocalPlayer():GetMoney(), 3)), "ScoreboardText", 2, 68, Color( 255, 255, 255, 255 ),0,0)
		draw.SimpleText( "Open the prop menu to upgrade!", "ScoreboardText", 2, 80, Color( 120, 255, 120, 255 ),0,0)
	end
end

hook.Add("HUDPaint", "inv_stathud", inv_stathud)